package nd.android.am.aidl;

import nd.android.am.Adapter;
import android.os.RemoteException;
import android.text.TextUtils;

public class AccountServiceImpl extends AccountService.Stub {

	@Override
	public String getSettlement() throws RemoteException {
		String settlement = Adapter.Config.getConfig("");
		if(TextUtils.isEmpty(settlement))
			return "unsettled";
		return settlement;
	}

	@Override
	public String[] getUsers() throws RemoteException {
		return (String[])Adapter.User.getUsers().toArray();
	}

}
